package main

import (
	"github.com/shirou/gopsutil/process"
	"fmt"
)

func main()  {

	processes, _ := process.Processes()
	for _, p := range processes{
		if (p.Pid == 1669){
			cmdline, _ := p.Cmdline()
			fmt.Println(1111, cmdline)
			name, _ := p.Name()
			fmt.Println(name)
            fmt.Println(p.CPUPercent())
            iocounter, _ := p.IOCounters()
            fmt.Println(iocounter.ReadBytes)
            fmt.Println(iocounter.WriteBytes)
		}
	}
}
